<?php
/**
 * Introduction: 客服表  custom_service
 * @author: 王龙
 * @date: 2016/4/21 10:48
 * @email: wanglong@cdlinglu.com
 */

namespace Common\Model;


use Think\Model;

class CustomServiceModel extends Model
{
    //定义数据库连接信息
    protected $connection;
    //定义模型字段
    protected $fileds = ['id','qq','tel','wechat','code','is_online'];
    //定义表名
    protected $tableName = 'custom_service';
    /**
     * 初始化
     */
    public function _initialize()
    {
        $this->connection = C('Databaese');
    }
}